package com.axjy.service;

import com.axjy.pojo.User;
import com.axjy.util.Pager;

/**
 * Created by asus on 2018/1/25.
 */
public interface UserService {

    User login(String userCode, String userPassword);

    Pager searchPager(Integer offset);

    void add(User user);

    boolean update(User user);

    User get(Integer id);

    void del(Integer id);

    boolean exists(String userCode);
}
